package controller;

import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;

public final class ServerMain {

    public static void main(String[] args) {
        
        ServerController server = new ServerController(2121);

        new Thread(server).start();
        
        try {
            Thread.sleep(2000000);
        } catch (InterruptedException ex) {
            Logger.getLogger(ServerMain.class.getName()).log(Level.SEVERE, null, ex);
        }

        server.shutdown();
    }

}
